import React, { memo } from "react";
import { Result, Button } from "antd";
export default memo(function Notfound(props) {
  
  return (
    <Result
      status="404"
      title="404"
      subTitle="Sorry, the page you visited does not exist."
      extra={<Button type="primary" onClick={e=>props.history.push('/')}>回到首页</Button>}
    />
  );
});
